package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AuditPerformReport;
import com.leadingsoft.pwxk.repository.AuditPerformReportRepository;
import com.leadingsoft.pwxk.services.AbstractService;

/**
 * 
 * @author ysh
 * @desc 审批信息-执行（守法）报告要求-服务类
 */
@Service
public class AuditPerformReportServiceImpl extends AbstractService<AuditPerformReport> {

	@Autowired
	AuditPerformReportRepository auditPerformReportRepository;

	@Override
	public void saveAll(List<AuditPerformReport> models) {
		auditPerformReportRepository.saveAll(models);

	}

	@Override
	public void deleteAll() {
		auditPerformReportRepository.deleteAll();
	}

	@Override
	public void save(AuditPerformReport model) {
		auditPerformReportRepository.save(model);
	}
}
